import request from '@/utils/request'

// 查询支出明细列表
export function listWxPayInfo(query) {
  return request({
    url: '/wxPayInfo/list',
    method: 'get',
    params: query
  })
}

// 查询支出明细详细
export function getWxPayInfo(payId) {
  return request({
    url: '/wxPayInfo/' + payId,
    method: 'get'
  })
}

// 新增支出明细
export function addWxPayInfo(data) {
  return request({
    url: '/wxPayInfo',
    method: 'post',
    data: data
  })
}

// 修改支出明细
export function updateWxPayInfo(data) {
  return request({
    url: '/wxPayInfo',
    method: 'put',
    data: data
  })
}

// 删除支出明细
export function delWxPayInfo(payId) {
  return request({
    url: '/wxPayInfo/' + payId,
    method: 'delete'
  })
}
